package bgg4j;

public class BggException extends Exception {
    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private int statusCode = -1;
    public BggException(String msg) {
        super(msg);
    }

    public BggException(String msg, int statusCode) {
        super(msg);
        this.statusCode = statusCode;

    }

    public BggException(String msg, Exception cause) {
        super(msg, cause);
    }

    public BggException(String msg, Exception cause, int statusCode) {
        super(msg, cause);
        this.statusCode = statusCode;

    }

    public int getStatusCode() {
        return this.statusCode;
    }
}
